﻿namespace Sinacor.Infra.UI.Controls.SmartClient.DataGrid
{
	public class DataGridColumnHeadersPresenter : Microsoft.Windows.Controls.Primitives.DataGridColumnHeadersPresenter
    {
		protected override void PrepareContainerForItemOverride(System.Windows.DependencyObject element, object item)
		{
			base.PrepareContainerForItemOverride(element, item);
		}

		protected override System.Windows.DependencyObject GetContainerForItemOverride()
		{
			return new DataGridColumnHeader();
		}

		protected override bool IsItemItsOwnContainerOverride(object item)
		{
			return (item is DataGridColumnHeader);
		}

		protected override void ClearContainerForItemOverride(System.Windows.DependencyObject element, object item)
		{
			base.ClearContainerForItemOverride(element, item);
		}
    }
}
